Skip to content

Fix pmtiles::tileid_to_zxy for platforms where "long" is 32bit#650

Merged
bdon merged 1 commit into
protomaps:mainfrom
tvoeroes:fix-tileid_to_zxy
Mar 24, 2026
Merged

Fix pmtiles::tileid_to_zxy for platforms where "long" is 32bit#650
bdon merged 1 commit into
protomaps:mainfrom
tvoeroes:fix-tileid_to_zxy

Conversation

@tvoeroes
Copy link
Copy Markdown
Contributor

pmtiles::tileid_to_zxy is incorrect on platforms where "long" is 32bit a.k.a. Windows for tiles with Z >= 16. This PR fixes that issue.

@bdon bdon merged commit e90f14c into protomaps:main Mar 24, 2026
2 checks passed
@bdon
Copy link
Copy Markdown
Member

bdon commented Mar 24, 2026

Good catch, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants